import request from '@/utils/request'
//添加投票选项
export function sqVoteOption_add(data) {
return request({
url: '/api/sqVoteOption/add',
method: 'post',
data
})
}
//修改投票选项
export function sqVoteOption_update(data) {
return request({
url: '/api/sqVoteOption/update',
method: 'post',
data
})
}
//删除投票选项
export function sqVoteOption_delete(data) {
return request({
url: '/api/sqVoteOption/delete/' + data.id,
method: 'post',
data
})
}
//投票选项详情
export function sqVoteOption_info(param) {
return request({
url: '/api/sqVoteOption/info/' + param.id,
method: 'get',
param
})
}
//投票选项分页列表
export function sqVoteOption_getPageList(data) {
return request({
url: '/api/sqVoteOption/getPageList',
method: 'post',
data
})
}
